﻿using Abp.Domain.Services;
using GN.Pay.Core.Entities;
using GN.Pay.TradeChannel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 交易账本服务
    /// </summary>
    public interface ITradeAccountBookService : IPayService
    {
        /// <summary>
        /// 登账
        /// </summary>
        /// <param name="orderQueryResult">订单查询结果</param>
        /// <param name="tradePayApply">交易支付申请</param>
        /// <returns></returns>
        TradeAccountBookChannel Accounting(ITradeOrderQueryResult orderQueryResult, out TradePayApply tradePayApply);
    }
}
